package de.hundezimmer.beans;

import java.io.Serializable;
import java.sql.Date;

public class Dog implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3712412697879697429L;
	private int id, typ;
	private String name;
	private String comments;
	private Date birthday;

	public Dog(int id, String name, int typ, String comments, Date birthday) {
		this.id = id;
		this.typ = typ;
		this.name = name;
		this.setComments(comments);
		this.setBirthday(birthday);
	}

	public Date getBirthday() {
		return birthday;
	}

	public String getComments() {
		return comments;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public int getTyp() {
		return typ;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setTyp(int typ) {
		this.typ = typ;
	}

	@Override
	public String toString() {
		return id + ", " + name + ", " + typ;
	}
}
